
<include file="__THEME__/header" />


<div class="content"><!-- 内容 begin  -->
  <include file="__THEME__/apps" />
  <div class="main"><!-- 画布 begin  -->

	
	<div class="page_title"><h2>测试模块</h2></div>
	<div style="background:#f1f1f1;width:830px;">



               <h3 class="space-titile">个人信息</h3>
						

						<div style="padding-left:60px">
							{~dump($my_info);}
						</div>
						<script>
							//var Alert=ymPrompt.alert;
							function cancelFn(){
								Alert("点击了'取消'按钮");
							}
							function okFn(){
								Alert("点击了'确定'按钮");
							}
							function closeFn(){
								Alert("点击了'关闭'按钮");
							}
							function handler(tp){
								if(tp=='ok'){
									okFn();
								}
								if(tp=='cancel'){
									cancelFn();
								}
								if(tp=='close'){
									closeFn()
								}
							}					

							function del(id) {
								Confirm('确认要删除吗？',null,null,null,function(tp) {
									if(tp=='ok'){
										Success(id);
									}
									if(tp=='cancel'){
										Error("aaa");
									}
									if(tp=='close'){
										closeFn()
									}
								});
							}
						</script>
						<input type="button" value="最简调用2" onclick="Alert('消息内容')" />
						<td><input type="button" value="信息提示" onclick="Alert('确认要删除吗？',null,null,'提示',handler)" /></td>
						<input type="button" value="最简调用2" onclick="del(2)" />
						

				<h3 class="space-titile">好友关系</h3>
						<div style="padding-left:60px">
							{~dump($fris_info);}
						</div>
				<h3 class="space-titile">系统消息</h3>

						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						消息个数：<br/>&nbsp;<br/>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						{$notify_num["notification"]}条新通知&nbsp;&nbsp;&nbsp; 
						{$notify_num["message"]}条新短消息&nbsp;&nbsp;&nbsp; 
						{$notify_num["friend"]}个好友请求&nbsp;&nbsp;&nbsp; 

						<p>&nbsp;<br/>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						消息内容：<br/>&nbsp;<br/>
						<div style="padding-left:60px">
							<volist	name="notify_con" id="notify">
								{~dump($notify);}
								<p>&nbsp;<br/>
							</volist>
						</div>

				<h3 class="space-titile">动态</h3>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						我的动态：<br/>&nbsp;<br/>

						<div style="padding-left:60px">
							<volist	name="my_feeds" id="feed">
								{$feed["title"]}&nbsp;<br/>								
								{$feed["body"]}&nbsp;<br/>
								
							</volist>
						</div>

						<br/>&nbsp;<br/>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						好友的动态：<br/>&nbsp;<br/>
						<div style="padding-left:60px">
							<volist	name="fri_feeds" id="feed">
								{$feed["title"]}&nbsp;<br/>								
								{$feed["body"]}&nbsp;<br/>
								
							</volist>
						</div>

				<h3 class="space-titile">插件测试</h3>

						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						当前项目的Widget：<br/>&nbsp;<br/>

							{:W('ShowComment',array('xxx'=>"core-widget"))}
					

						<br/>&nbsp;<br/>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
						公共的Widget：<br/>&nbsp;<br/>
							


				<h3 class="space-titile">公共函数测试</h3>

						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							{:pub_test()}

				<h3 class="space-titile">公共类库测试</h3>

						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							{$vendor}




	</div>
  
  
  
  </div><!-- 画布 end  -->
  <div class="c"></div>
</div><!-- 内容 end -->
<include file="__THEME__/footer" />
